﻿<Window x:Class="Booncraft.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="BoonCraft" Height="297" Width="352" Closing="Window_Closing_1" Topmost="True" WindowStartupLocation="CenterScreen" WindowStyle="ThreeDBorderWindow">
    <Grid>
        <PasswordBox x:Name="Password" HorizontalAlignment="Left" Margin="79,38,0,0" VerticalAlignment="Top" Width="250" Panel.ZIndex="1" VerticalContentAlignment="Center"/>
        <Label Content="Username:" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="1,9,0,0" Width="72" Panel.ZIndex="3" VerticalContentAlignment="Center"/>
        <Label Content="Password:" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="2,35,0,0" Width="72" Panel.ZIndex="3" VerticalContentAlignment="Center"/>
        <TextBox x:Name="txtUsername" HorizontalAlignment="Left" TextWrapping="Wrap" VerticalAlignment="Top" Margin="79,11,0,0" Width="250" VerticalContentAlignment="Center"/>
        <Button x:Name="Login" Content="Login" HorizontalAlignment="Left" VerticalAlignment="Top" Width="325" Margin="4,200,0,0" Background="{x:Null}" Click="Login_Click" Panel.ZIndex="2" VerticalContentAlignment="Center"/>
        <ProgressBar x:Name="progressBar1" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="325" Margin="4,229,0,0" Panel.ZIndex="3" VerticalContentAlignment="Center"/>
        <Expander Header="Options" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="2,63,0,0" ExpandDirection="Right" Width="328" Height="132">
            <Grid Background="#FFE5E5E5">
                <CheckBox x:Name="OfflineModeCHK" Content="Offline Mode" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,10,0,0"/>
                <CheckBox x:Name="SaveLoginCHK" Content="Save Login Details" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,31,0,0" IsChecked="True"/>
                <Button x:Name="SaveOptions" Content="Save Options" HorizontalAlignment="Left" VerticalAlignment="Top" Width="262" Margin="10,98,0,0" Click="SaveOptions_Click"/>
            </Grid>
        </Expander>
    </Grid>
</Window>
